home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / xinfo101.lha / xinfo-1.01.01 / Info.h < prev    next >
C/C++ Source or Header  |  1991-01-10  |  3KB  |  98 lines

  1. #ifndef _Info_h
  2. #define _Info_h
  3.  
  4. /* $Header: /usr3/xinfo/RCS/Info.h,v 1.4 90/11/12 13:49:47 jkh Exp Locker: jkh $ */
  5.  
  6. /*
  7.  *
  8.  *                   Copyright 1989, 1990
  9.  *                    Jordan K. Hubbard
  10.  *
  11.  *                PCS Computer Systeme, GmbH.
  12.  *                   Munich, West Germany
  13.  *
  14.  *
  15.  * This file is part of GNU Info widget.
  16.  *
  17.  * The GNU Info widget is free software; you can redistribute it and/or
  18.  * modify it under the terms of the GNU General Public License as published
  19.  * by the Free Software Foundation; either version 1, or (at your option)
  20.  * any later version.
  21.  *
  22.  * This software is distributed in the hope that it will be useful,
  23.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  24.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  25.  * GNU General Public License for more details.
  26.  *
  27.  * You should have received a copy of the GNU General Public License
  28.  * along with this software; see the file COPYING.  If not, write to
  29.  * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  30.  *
  31.  *
  32.  */
  33.  
  34. /*
  35.  * $Log:    Info.h,v $
  36.  * Revision 1.4  90/11/12  13:49:47  jkh
  37.  * Fixed bell_volume misspecification.
  38.  * 
  39.  * Revision 1.3  90/11/11  22:25:14  jkh
  40.  * Added retainArg stuff.
  41.  * 
  42.  * Revision 1.2  90/11/11  21:19:53  jkh
  43.  * Release 1.01
  44.  * 
  45.  * Revision 1.1  90/11/06  22:51:15  jkh
  46.  * Initial revision.
  47.  * 
  48.  */
  49.  
  50. /*
  51.  * Resources:
  52.  *
  53.  * Name            Class        RepType        Default Value
  54.  * ----            -----        -------        -------------
  55.  * bellVolume        BellVolume    Int        XpDefaultBellVolume
  56.  * callback             Callback        XtCallbackList  NULL
  57.  * infoFile        InfoFile    String        XpDefaultInfoFile
  58.  * infoNode        InfoNode    String        XpDefaultInfoNode
  59.  * infoPath        InfoPath    String        XpDefaultInfoPath
  60.  * printCommand        PrintCommand    String        XpDefaultPrintCommand
  61.  * retainArg        RetainArg    Boolean        FALSE
  62.  *
  63.  */
  64.  
  65. /* resource types */
  66. #define XpDefaultBellVolume    50
  67. #define XpDefaultInfoFile    "dir"
  68. #define XpDefaultInfoNode    "Top"
  69. #define XpDefaultInfoPath    "/usr/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/gnu/lib/info"
  70. #define XpDefaultPrintCommand    "lpr -p"
  71.  
  72. #define XpNbellVolume        "bellVolume"
  73. #define XpNinfoFile        "infoFile"
  74. #define XpNinfoHelp        "infoHelp"
  75. #define XpNinfoNode        "infoNode"
  76. #define XpNinfoPath        "infoPath"
  77. #define XpNprintCommand        "printCommand"
  78. #define XpNretainArg        "retainArg"
  79.  
  80. #define XpCBellVolume        "BellVolume"
  81. #define XpCInfoFile        "InfoFile"
  82. #define XpCInfoHelp        "InfoHelp"
  83. #define XpCInfoNode        "InfoNode"
  84. #define XpCInfoPath        "InfoPath"
  85. #define XpCPrintCommand        "PrintCommand"
  86. #define XpCRetainArg        "RetainArg"
  87.  
  88. #define XpInfoVersion        1.01
  89.  
  90. /* declare specific InfoWidget class and instance datatypes */
  91. typedef struct _InfoClassRec*        InfoWidgetClass;
  92. typedef struct _InfoRec*        InfoWidget;
  93.  
  94. /* declare the class constant */
  95. extern WidgetClass infoWidgetClass;
  96.  
  97. #endif /* _Info_h */
  98.